package thinkingJava.chapter13;

import java.util.ArrayList;

import thinkingJava.chapter14.Pet;
import thinkingJava.chapter14.Pets;

public class ArrayListDisplay {
	public static void main(String[] args) {
		ArrayList<Pet> arr = new ArrayList<Pet>();
		for (Pet p : Pets.arrayList(8)) {
			arr.add(p);
		}
		System.out.println(arr);
	}
}
